﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BrokerBase.Lib.Product
{
    public class PaymentPeriod:IPaymentPeriod
    {

        public  PaymentPeriod()
        {
        }

        public  PaymentPeriod(IProduct product)
            : this()
        {
            Owner = product;
        }

        public virtual IProduct Owner { get; set; }


        public virtual string Name { get; set; }


        public virtual int Value { get; set; }


        public virtual PaymentPeriodStyle Style { get; set; }


        public virtual int Id { get; set; }

        public virtual object Tag { get; set; }
    }
}
